import { request } from "./rquest";

export function getHomeAllData() {
    return request({
        //配置参数
        url: '/api/index',
        method: 'get',
        params: {

        }
    })
}
//获取 goods数据
export function getHomeGoods(type = 'sales', page = '1') {
    return request({
        url: '/api/goods?' + type + '=1&page=' + page,
    })
}

